package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingLevelMapper
 * @Author Taoxiuli
 * @Date 2024-09-09
 */
@Mapper
public interface NursingLevelMapper {


    List<NursingLevelVo> getListAll();

    NursingLevelVo getById(Long id);

    Page<NursingLevel> selectByPage(String name, Integer status);

    void addLevel(NursingLevel nursingLevel);

    void deleteById(Long id);

    void update(NursingLevel nursingLevel);

    void updateStatusById(Long id, Integer status);
}
